www.stonehorse.comGeometryManager
Version 1.01

Home ] Introduction ] Overview ] Platform Notes ] Reference ] History ]

GmAddWnd

Adds a generic window group to the geometry manager.

HGMGROUP GmAddWnd(
HGEOM hGeom, Geometry manager handle
HGMGROUP hParent, Parent group handle
HWND hWnd, Window handle of any kind
DWORD dwFlags, Flags specifying how to size and arrange this group and it’s children
WORD wWeight); Relative weight of this group

dwFlags

Horizontal Alignment (pick one)

GM_LEFT Align this group to the left
GM_HCENTER Center this group horizontally
GM_RIGHT Align this group to the right
GM_GROW_X Resize this group to fill the horizontal space

Vertical Alignment (pick one)

GM_TOP Align this group to the top
GM_VCENTER Center this group vertically
GM_BOTTOM Align this group to the bottom
GM_GROW_Y Resize this group to fill the vertical space

Arrangment of Children (pick one)

GM_HORIZONTAL Children are arranged horizontally as they are added, from left to right
GM_VERTICAL Children are arranged vertically as they are added, from top to bottom
GM_OVERLAPPED Children are overlapped

Returns

Returns a handle to the group just added.

Notes

  • A generic window group can represent any window, from buttons to listboxes.
  • The minimum size of all window groups (except top-level window groups) is defined as the window size when the window group is added to the geometry manager.
  • All window groups have default outside margins of 4 pixels on each side.

Home ] Introduction ] Overview ] Platform Notes ] Reference ] History ]


Please send any technical questions to techsupport@stonehorse.com
Copyright ⌐ 1998 Stonehorse Software
Last updated May 11, 1998.